/**
  ******************************************************************************
  * @file    bsp_adc.h
  * @author  Iron
  * @date    2018-08-29
  * @version v1.0
  * @brief   bsp_adc header file
  */

#ifndef __BSP_ADC_H
#define __BSP_ADC_H

#ifdef __cplusplus
extern "C" {
#endif

/* includes ------------------------------------------------------------------*/
#include <stdint.h>

/* exported types ------------------------------------------------------------*/
/* exported constants --------------------------------------------------------*/
/* exported macro ------------------------------------------------------------*/
/* exported functions ------------------------------------------------------- */
int32_t bsp_adc_init(void);

uint32_t bsp_adc_get_power_dev_bat_voltage(void);
uint32_t bsp_adc_get_power_car_bat_voltage(void);
uint32_t bsp_adc_get_power_rtc_bat_voltage(void);
double bsp_adc_get_mcu_temperature(void);

/**
  * @}
  */

#ifdef __cplusplus
}
#endif

#endif /* __BSP_ADC_H */

/******************* (C)COPYRIGHT 2018 ***** END OF FILE *********************/
